[INFO] cloning repository https://github.com/dilettantemode/soldout
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dilettantemode/soldout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] be4f483c06331b75ba80fd9611e8947b29a91143
[INFO] checking dilettantemode/soldout against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dilettantemode/soldout on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dilettantemode/soldout
[INFO] finished tweaking git repo https://github.com/dilettantemode/soldout
[INFO] tweaked toml for git repo https://github.com/dilettantemode/soldout written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/dilettantemode/soldout already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b85217ea34c01112f6eeae031019b689d6e311efedcc412ec8de5e9caa0702d
[INFO] running `Command { std: "docker" "start" "-a" "2b85217ea34c01112f6eeae031019b689d6e311efedcc412ec8de5e9caa0702d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b85217ea34c01112f6eeae031019b689d6e311efedcc412ec8de5e9caa0702d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b85217ea34c01112f6eeae031019b689d6e311efedcc412ec8de5e9caa0702d", kill_on_drop: false }`
[INFO] [stdout] 2b85217ea34c01112f6eeae031019b689d6e311efedcc412ec8de5e9caa0702d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5842db02d7ff28793aedf5565654540fff591cc53dfb26c6d085816fd0e370e
[INFO] running `Command { std: "docker" "start" "-a" "a5842db02d7ff28793aedf5565654540fff591cc53dfb26c6d085816fd0e370e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking futures-core v0.3.7
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking pin-project-lite v0.1.11
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]     Checking futures-sink v0.3.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking futures-io v0.3.7
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking regex-syntax v0.6.20
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking dtoa v0.4.6
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking urlencoding v1.1.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]     Checking input_buffer v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.7
[INFO] [stderr]     Checking instant v0.1.8
[INFO] [stderr]     Checking futures-task v0.3.7
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking tracing v0.1.21
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling mysqlclient-sys v0.2.4
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking socket2 v0.3.15
[INFO] [stderr]     Checking terminal_size v0.1.13
[INFO] [stderr]     Checking regex v1.4.1
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.5
[INFO] [stderr]     Checking r2d2 v0.8.9
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking sha-1 v0.9.1
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking headers v0.3.2
[INFO] [stderr]     Checking console v0.13.0
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking tungstenite v0.11.1
[INFO] [stderr]     Checking multipart v0.17.0
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]    Compiling pin-project-internal v1.0.1
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking pin-project v1.0.1
[INFO] [stderr]     Checking futures-util v0.3.7
[INFO] [stderr]     Checking pin-project v0.4.27
[INFO] [stderr]     Checking tracing-futures v0.2.4
[INFO] [stderr]     Checking diesel v1.4.5
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking futures v0.3.7
[INFO] [stderr]     Checking tokio-tungstenite v0.11.0
[INFO] [stderr]     Checking hyper v0.13.8
[INFO] [stderr]     Checking warp v0.2.5
[INFO] [stderr]     Checking soldout v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/repositories/user.rs:50:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl User {
[INFO] [stdout]    |           - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn find(record: i32) -> Self {
[INFO] [stdout]    |                                      - this delimiter might not be properly closed...
[INFO] [stdout] ...
[INFO] [stdout] 50 | }
[INFO] [stdout]    | - ^
[INFO] [stdout]    | |
[INFO] [stdout]    | ...as it matches this but it has different indentation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `pub`
[INFO] [stdout]   --> src/repositories/user.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl User {
[INFO] [stdout]    |           ^ unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 32 |             .first::<Self>(&connection)
[INFO] [stdout]    |                                        -
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout]    |                                        help: `}` may belong here
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn find(user_id: &u64, &connection: &MysqlConnection) {
[INFO] [stdout]    |     ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/repositories/user.rs:50:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl User {
[INFO] [stdout]    |           - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn find(record: i32) -> Self {
[INFO] [stdout]    |                                      - this delimiter might not be properly closed...
[INFO] [stdout] ...
[INFO] [stdout] 50 | }
[INFO] [stdout]    | - ^
[INFO] [stdout]    | |
[INFO] [stdout]    | ...as it matches this but it has different indentation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `pub`
[INFO] [stdout]   --> src/repositories/user.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl User {
[INFO] [stdout]    |           ^ unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 32 |             .first::<Self>(&connection)
[INFO] [stdout]    |                                        -
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout]    |                                        help: `}` may belong here
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn find(user_id: &u64, &connection: &MysqlConnection) {
[INFO] [stdout]    |     ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema`
[INFO] [stdout]   --> src/repositories/user.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         use schema::tickets::dsl::*;
[INFO] [stdout]    |             ^^^^^^ use of undeclared crate or module `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database`
[INFO] [stdout]   --> src/repositories/user.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let connection = database::establish_connection();
[INFO] [stdout]    |                          ^^^^^^^^ use of undeclared crate or module `database`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema`
[INFO] [stdout]   --> src/repositories/user.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         use schema::tickets::dsl::*;
[INFO] [stdout]    |             ^^^^^^ use of undeclared crate or module `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database`
[INFO] [stdout]   --> src/repositories/user.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let connection = database::establish_connection();
[INFO] [stdout]    |                          ^^^^^^^^ use of undeclared crate or module `database`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tickets` in this scope
[INFO] [stdout]   --> src/repositories/user.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let results = tickets.load::<Self>(&connection).expect(
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `NewUser` is private
[INFO] [stdout]   --> src/handlers/user_handler.rs:5:26
[INFO] [stdout]    |
[INFO] [stdout] 5  |     repositories::user::{NewUser, User},
[INFO] [stdout]    |                          ^^^^^^^ private struct import
[INFO] [stdout]    |
[INFO] [stdout] note: the struct import `NewUser` is defined here...
[INFO] [stdout]   --> src/repositories/user.rs:4:27
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::models::user::{NewUser, User};
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout] note: ...and refers to the struct `NewUser` which is defined here
[INFO] [stdout]   --> src/models/user.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct NewUser {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ consider importing it directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `User` is private
[INFO] [stdout]  --> src/handlers/user_handler.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 |     repositories::user::{NewUser, User},
[INFO] [stdout]   |                                   ^^^^ private struct import
[INFO] [stdout]   |
[INFO] [stdout] note: the struct import `User` is defined here...
[INFO] [stdout]  --> src/repositories/user.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::user::{NewUser, User};
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout] note: ...and refers to the struct `User` which is defined here
[INFO] [stdout]  --> src/models/user.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct User {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ consider importing it directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database`
[INFO] [stdout]   --> src/repositories/user.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let connection = database::establish_connection();
[INFO] [stdout]    |                          ^^^^^^^^ use of undeclared crate or module `database`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database`
[INFO] [stdout]   --> src/repositories/user.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let connection = database::establish_connection();
[INFO] [stdout]    |                          ^^^^^^^^ use of undeclared crate or module `database`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tickets` in this scope
[INFO] [stdout]   --> src/repositories/user.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let results = tickets.load::<Self>(&connection).expect(
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `NewUser` is private
[INFO] [stdout]   --> src/handlers/user_handler.rs:5:26
[INFO] [stdout]    |
[INFO] [stdout] 5  |     repositories::user::{NewUser, User},
[INFO] [stdout]    |                          ^^^^^^^ private struct import
[INFO] [stdout]    |
[INFO] [stdout] note: the struct import `NewUser` is defined here...
[INFO] [stdout]   --> src/repositories/user.rs:4:27
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::models::user::{NewUser, User};
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout] note: ...and refers to the struct `NewUser` which is defined here
[INFO] [stdout]   --> src/models/user.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct NewUser {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ consider importing it directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `User` is private
[INFO] [stdout]  --> src/handlers/user_handler.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 |     repositories::user::{NewUser, User},
[INFO] [stdout]   |                                   ^^^^ private struct import
[INFO] [stdout]   |
[INFO] [stdout] note: the struct import `User` is defined here...
[INFO] [stdout]  --> src/repositories/user.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::user::{NewUser, User};
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout] note: ...and refers to the struct `User` which is defined here
[INFO] [stdout]  --> src/models/user.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct User {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ consider importing it directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `execute` found for struct `InsertStatement` in the current scope
[INFO] [stdout]     --> src/repositories/user.rs:10:14
[INFO] [stdout]      |
[INFO] [stdout] 10   |             .execute(&connection)
[INFO] [stdout]      |              ^^^^^^^ method not found in `InsertStatement<table, ValuesClause<(ColumnInsertValue<columns::username, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::email, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::created_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>, ColumnInsertValue<columns::updated_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>), table>>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/query_dsl/mod.rs:1132:8
[INFO] [stdout]      |
[INFO] [stdout] 1132 |     fn execute(self, conn: &Conn) -> QueryResult<usize>
[INFO] [stdout]      |        ------- the method is available for `InsertStatement<table, ValuesClause<(ColumnInsertValue<columns::username, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::email, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::created_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>, ColumnInsertValue<columns::updated_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>), table>>` here
[INFO] [stdout]      |
[INFO] [stdout]      = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]      |
[INFO] [stdout] 1    | use crate::diesel::RunQueryDsl;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `NewUser` is not an iterator
[INFO] [stdout]   --> src/repositories/user.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |         Self::last()
[INFO] [stdout]    |               ^^^^ `NewUser` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/models/user.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct NewUser {
[INFO] [stdout]    | ------------------
[INFO] [stdout]    | |
[INFO] [stdout]    | function or associated item `last` not found for this
[INFO] [stdout]    | doesn't satisfy `NewUser: Iterator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `NewUser: Iterator`
[INFO] [stdout]            which is required by `&mut NewUser: Iterator`
[INFO] [stdout] note: the following trait must be implemented
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `last`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `execute` found for struct `InsertStatement` in the current scope
[INFO] [stdout]     --> src/repositories/user.rs:10:14
[INFO] [stdout]      |
[INFO] [stdout] 10   |             .execute(&connection)
[INFO] [stdout]      |              ^^^^^^^ method not found in `InsertStatement<table, ValuesClause<(ColumnInsertValue<columns::username, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::email, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::created_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>, ColumnInsertValue<columns::updated_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>), table>>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/query_dsl/mod.rs:1132:8
[INFO] [stdout]      |
[INFO] [stdout] 1132 |     fn execute(self, conn: &Conn) -> QueryResult<usize>
[INFO] [stdout]      |        ------- the method is available for `InsertStatement<table, ValuesClause<(ColumnInsertValue<columns::username, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::email, diesel::expression::bound::Bound<Text, &std::string::String>>, ColumnInsertValue<columns::created_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>, ColumnInsertValue<columns::updated_at, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Datetime>, &NaiveDateTime>>), table>>` here
[INFO] [stdout]      |
[INFO] [stdout]      = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]      |
[INFO] [stdout] 1    | use crate::diesel::RunQueryDsl;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `NewUser` is not an iterator
[INFO] [stdout]   --> src/repositories/user.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |         Self::last()
[INFO] [stdout]    |               ^^^^ `NewUser` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/models/user.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct NewUser {
[INFO] [stdout]    | ------------------
[INFO] [stdout]    | |
[INFO] [stdout]    | function or associated item `last` not found for this
[INFO] [stdout]    | doesn't satisfy `NewUser: Iterator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `NewUser: Iterator`
[INFO] [stdout]            which is required by `&mut NewUser: Iterator`
[INFO] [stdout] note: the following trait must be implemented
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `last`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `soldout` due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `soldout` due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "a5842db02d7ff28793aedf5565654540fff591cc53dfb26c6d085816fd0e370e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5842db02d7ff28793aedf5565654540fff591cc53dfb26c6d085816fd0e370e", kill_on_drop: false }`
[INFO] [stdout] a5842db02d7ff28793aedf5565654540fff591cc53dfb26c6d085816fd0e370e
